package com.example.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.entity.yifei.Dscma;
import com.example.mapper.DscmaMapper;
import com.example.service.DscmaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-03-04
 */
@Service
public class DscmaServiceImpl extends ServiceImpl<DscmaMapper, Dscma> implements DscmaService {

    @Override
    public Dscma getUserInfo(String MA001) {
        QueryWrapper<Dscma> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("MA001", MA001);
        Dscma dscma = baseMapper.selectOne(queryWrapper);
        return dscma;
    }

}
